package com.example.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface UserMapper extends BaseMapper<User> {
    List<Map<String,Object>> getInterId(Map<String,Object> params);

    void register(Map<String, Object> paramMap);

    Map<String, Object> getUserInfo(Map<String, Object> map);

    void upUserInfo(Map<String, Object> paramMap);

    List<Map<String, Object>> getAllUser(Map<String, Object> params);

    int getUserCont();

    void deleteUser(Map<String, Object> params);

    List<String> getUserRole(Map<String, Object> params);

    void deletUserRole(Map<String, Object> paramMap);

    void inserUserRole(Map<String, Object> paramMap);
}
